//
//  Record.h
//  MMTest
//
//  Created by liujianlong on 2022/9/21.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
NS_ASSUME_NONNULL_BEGIN

@interface SingleData : NSObject<NSCopying,NSMutableCopying>
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, copy) NSString *startStamp;
@property (nonatomic, copy) NSString *stamp;
@property (nonatomic, copy) NSString *deviceName;
@property (nonatomic, copy) NSString *mac;

@property (nonatomic, assign) int L_current;
@property (nonatomic, assign) int L_max;
@property (nonatomic, assign) CGFloat L_avg;
@property (nonatomic, assign) int L_step;///计步
@property (nonatomic, assign) int L_batterlevel;
@property (nonatomic, assign) CGFloat L_total_avg;///总有效受力


@property (nonatomic, assign) int R_current;
@property (nonatomic, assign) int R_max;
@property (nonatomic, assign) CGFloat R_avg;
@property (nonatomic, assign) int R_step;///计步
@property (nonatomic, assign) int R_batterlevel;
@property (nonatomic, assign) CGFloat R_total_avg;///总有效受力

@property (nonatomic, assign) int temperature;///温度
@property (nonatomic, assign) int airPressure;///气压
@property (nonatomic, assign) CGFloat altitude;///海拔

@property (nonatomic, copy) NSMutableString *L_data;
@property (nonatomic, assign) int L_max_data;

@property (nonatomic, copy) NSMutableString *R_data;
@property (nonatomic, assign) int R_max_data;

@property (nonatomic, assign) int num;///次数
@property (nonatomic, assign) BOOL  start;
@property (nonatomic, strong) CBCharacteristic *writeChar;

@property (nonatomic, assign) int type;///杖类型

@end

NS_ASSUME_NONNULL_END
